// import { useState } from 'react'
import { useRecoilValue } from 'recoil'

import { commonState } from '@/recoil'

const usePermissions = (): string => {
  // const [permissions, setPermissions] = useState('')
  const res = useRecoilValue(commonState.permissions)
  return res
}
export default usePermissions
